﻿namespace Colorful.Furniture.WechatPay
{
    /// <summary>
    ///  微信支付配置
    /// </summary>
    public class WechatPayOptions
    {
        /// <summary>
        ///  键
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        ///  是否测试支付
        /// </summary>
        public bool IsTestPay { get; set; }

        /// <summary>
        ///  测试支付金额，默认是一分钱
        /// </summary>
        public int TestPayAmount { get; set; } = 1;

        /// <summary>
        ///  商户编码
        /// </summary>
        public string MerchantId { get; set; }

        /// <summary>
        ///  证书
        /// </summary>
        public string CertPath { get; set; }

        /// <summary>
        ///  证书密码
        /// </summary>
        public string CertSecret { get; set; }

        /// <summary>
        ///  订单创建IP地址
        /// </summary>
        public string SpBillCreateIp { get; set; }

        /// <summary>
        ///  通知回调地址
        /// </summary>
        public string NotifyUrl { get; set; }
    }
}